home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / prog_c / lsdoor09.zip / DROP.H < prev    next >
C/C++ Source or Header  |  1996-05-15  |  963b  |  37 lines

  1. #ifndef __DROP_HEADER_FILE__
  2. #define __DROP_HEADER_FILE__
  3.  
  4. //#ifdef _DOOR_CODE_
  5. global char infolinkp[ 80 ], doorsysp[ 80 ];
  6. //#endif
  7.  
  8. global char LSPresent;   // This is always 1 in LightSpeed, and is set to
  9.              // 1 in a door if InfoLink.Dat is read, else 0.
  10.  
  11. global char env_fname[40], envtemp[80];
  12. global int env;
  13.  
  14. void delete_dropfiles( void );  // Meant for use by LightSpeed BBS only
  15.  
  16. void make_infolink( void );
  17. int  read_infolink( void );  // Returns 0 if not found/not used
  18. void make_doorsys( void );
  19. int  read_doorsys( void );   // (For doors) Returns 0 if not found
  20.  
  21. void reopen_afterdoor( void );  // Reopens log & file database after doors
  22.  
  23. #ifdef _DOOR_CODE_
  24. #define    doorsysENABLE    1
  25. #define doorsysDISABLE    0
  26.  
  27. int  DoorInit( int allowdoorsys=1 );  // Initializes door by LS-Standards...
  28. void LockDataSystem( void );
  29. void exitClean( void );               // Called by DoorInit()
  30. #endif
  31.  
  32. #endif
  33.  
  34. // End of Drop.H
  35.  
  36.  
  37.